package com.qclix.inv.webui.jsonobj;

import java.util.Date;

/**
 * @author Pierre Moermans
 */
public class JSonContract {
    private String reference;
    private JSonClient client;
    private Date validFrom;
    private Date validTill;
    private float hourlyRate;

    public JSonContract() {
    }

    public JSonContract(String reference, JSonClient client, Date validFrom, Date validTill, float hourlyRate) {
        this.reference = reference;
        this.client = client;
        this.validFrom = validFrom;
        this.validTill = validTill;
        this.hourlyRate = hourlyRate;
    }

    public String getReference() {
        return reference;
    }

    public void setReference(String reference) {
        this.reference = reference;
    }

    public JSonClient getClient() {
        return client;
    }

    public void setClient(JSonClient client) {
        this.client = client;
    }

    public Date getValidFrom() {
        return validFrom;
    }

    public void setValidFrom(Date validFrom) {
        this.validFrom = validFrom;
    }

    public Date getValidTill() {
        return validTill;
    }

    public void setValidTill(Date validTill) {
        this.validTill = validTill;
    }

    public float getHourlyRate() {
        return hourlyRate;
    }

    public void setHourlyRate(float hourlyRate) {
        this.hourlyRate = hourlyRate;
    }
}
